package com.czwx.bee.business.manager.modular.sys.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;

/**
 * @Author:wiki
 * @Date:Create in 2018/7/23 0023 上午 10:45
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
@ApiModel(value="UserDto",description="用户dot对象")
public class UserDto {

    @ApiModelProperty(value="ID",name="id")
    private Long id ;

    @ApiModelProperty(name = "状态",notes = "0停用,1正常")
    private Integer status ;

    @ApiModelProperty(value = "用户类型",notes = "0.超级管理员1.商户管理员2.商户用户")
    private Integer userType ;

    @ApiModelProperty(value = "登录账号")
    private String loginName ;

    @ApiModelProperty(value = "姓名")
    private String name ;

    @ApiModelProperty(value = "电话")
    private String phone ;

    @ApiModelProperty(value = "角色名称")
    private String rnames ;

    @ApiModelProperty(value = "角色id字符串")
    private String rid ;

    @ApiModelProperty(value = "备注")
    private String description;
}
